import {
	Base64
} from 'js-base64';

const mobileDecode = (mobileCodeStr) => {
	if (!mobileCodeStr) {
		return ''
	}
	if (mobileCodeStr.length <= 11) {
		return mobileCodeStr
	}
	let mobile = Base64.decode(mobileCodeStr)
	console.log('mobileDecode', mobileCodeStr, mobile)
	return mobile;
}

export default {
	mobileDecode,
}